<!DOCTYPE>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>内容管理</title>
    <link rel="stylesheet" type="text/css" href="../../static/lib/layui/css/layui.css">
    <link rel="stylesheet" type="text/css" href="../../static/plugin/layer/skin/layer.css">
    <link rel="stylesheet" href="../../static/css/x-admin.css" media="all">
    <link rel="stylesheet" type="text/css" href="../notice/list.css">
</head>
<body>
<div id="dicapp" class="x-body">
    <div class="clearfix">
        <form class="layui-form fl" action="">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <!--<label class="layui-form-label" style="font-weight:bold;">内容名称：</label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" v-model="keyWord" placeholder="请输入字典名称" autocomplete="off">
                    </div>-->
                </div>
            </div>
        </form>
        <div class="layui-btn-group fl ">
            <!--<button class="layui-btn" @click="lay">查询</button>
            <button class="layui-btn"  @click="admin_add1">添加</button>-->
            <!--<button class="layui-btn " @click="delMulti">批量删除</button>-->
        </div>
    </div>
    <div class="tableWrap">
        <table class="" border="0" cellspacing="0" cellpadding="0">
            <thead>
            <tr>
                <th class="por w40" @click="allChose">
                    <input class="checkbox allChose" :checked="allChoseFlag"  type="checkbox" name="like1[write]" lay-filter="allChoose" :value="'al'" v-model="delMultiFlag">
                    <i class="layui-icon" :class="{'checkedColor':allChoseFlag}">&#xe618;</i>
                </th>
                <th>结果值</th>
                <th>类型</th>
                <th>问卷</th>
                <th>用户名</th>
                <!--<th style="width: 300px;">操作</th>-->
            </tr>
            </thead>
            <tbody>
            <tr v-for="(item,index) in dataList" v-if="item.id">
                <td  class="por" @click="selectSelf(item)">
                    <input class="checkbox" :value="item.id" type="checkbox" name="" :checked="item.checked" v-model="delMultiFlag">
                    <i class="layui-icon"  :class="{'checkedColor':item.checked}">&#xe618;</i>
                </td>
                <td v-text="item.value"></td>
                <td v-text="item.type"></td>
                <td v-text="item.questionName"></td>
                <td v-text="item.username"></td>
               <!-- <td>
                    <div class="layui-btn-group flexBox">
                        <button class="layui-btn" @click="admin_edits(item.id)">编辑</button>
                        <button class="layui-btn" @click="admin_del(item.id)">删除</button>
                    </div>
                </td>-->
            </tr>
            </tbody>
        </table>
    </div>
    <div id="pagination" class="fl fs14"></div>
    <div class="layui-laypage-curr pageHideFlag" style="text-align: center;line-height: 30px;height:30px;margin-top:10px;font-size: 0;float:left;">
        <span class="layui-laypage-next" style="display: inline-block;height:28px;font-size: 12px;color:#333;border:1px solid #e2e2e2;padding:0 10px;">
            共 {{totalNum}} 条数据
        </span>
    </div>
    <div class="layui-laypage-curr pageShowFlag" style="display: none;text-align: center;line-height: 30px;height:30px;margin-top:10px;font-size: 0;float:left;">

        <span class="layui-laypage-curr" style="display: inline-block;width:38px;height:30px;background: #5eabed;border:1px solid #5eabed;">
            <em style="font-style: normal;font-size: 12px;color:#fff;">1</em>
        </span>
        <span class="layui-laypage-next" style="display: inline-block;height:30px;font-size: 12px;color:#333;border:1px solid #e2e2e2;padding:0 10px;">
            共 {{totalNum}} 条数据
        </span>
    </div>
</div>
<script src="../../static/lib/jquery.min.js"></script>
<script src="../../static/lib/layui/layui.js" charset="utf-8"></script>
<script src="../../static/lib/vue.min.js"></script>
<script src="../../static/lib/x-layui.js"></script>
<script src="list.js"></script>